home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / ifl / TIFFbuffer.z / TIFFbuffer
Encoding:
Text File  |  1998-10-20  |  4.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. TTTTIIIIFFFFFFFFBBBBUUUUFFFFFFFFEEEERRRR((((3333TTTT))))    IIIImmmmaaaaggggeeee FFFFoooorrrrmmmmaaaatttt LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll     TTTTIIIIFFFFFFFFBBBBUUUUFFFFFFFFEEEERRRR((((3333TTTT))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      TIFFReadBufferSetup, TIFFWriteBufferSetup - I/O buffering control
  10.      routines
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<ttttiiiiffffffffiiiioooo....hhhh>>>>
  14.      iiiinnnntttt TTTTIIIIFFFFFFFFRRRReeeeaaaaddddBBBBuuuuffffffffeeeerrrrSSSSeeeettttuuuupppp((((TTTTIIIIFFFFFFFF****,,,, ttttddddaaaattttaaaa____tttt bbbbuuuuffffffffeeeerrrr,,,, ttttssssiiiizzzzeeee____tttt ssssiiiizzzzeeee))));;;;
  15.      iiiinnnntttt TTTTIIIIFFFFFFFFWWWWrrrriiiitttteeeeBBBBuuuuffffffffeeeerrrrSSSSeeeettttuuuupppp((((TTTTIIIIFFFFFFFF****,,,, ttttddddaaaattttaaaa____tttt bbbbuuuuffffffffeeeerrrr,,,, ttttssssiiiizzzzeeee____tttt ssssiiiizzzzeeee))));;;;
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      The following routines are provided for client-control of the I/O buffers
  19.      used by the library.  Applications need never use these routines; they
  20.      are provided only for ``intelligent clients'' that wish to optimize
  21.      memory usage and/or eliminate potential copy operations that can occur
  22.      when working with images that have data stored without compression.
  23.  
  24.      _T_I_F_F_R_e_a_d_B_u_f_f_e_r_S_e_t_u_p sets up the data buffer used to read raw (encoded)
  25.      data from a file.  If the specified pointer is NULL (zero), then a buffer
  26.      of the appropriate size is allocated.  Otherwise the caller must
  27.      guarantee that the buffer is large enough to hold any individual strip of
  28.      raw data.  _T_I_F_F_R_e_a_d_B_u_f_f_e_r_S_e_t_u_p returns a non-zero value if the setup was
  29.      successful and zero otherwise.
  30.  
  31.      _T_I_F_F_W_r_i_t_e_B_u_f_f_e_r_S_e_t_u_p sets up the data buffer used to write raw (encoded)
  32.      data to a file.  If the specified _s_i_z_e is -1 then the buffer size is
  33.      selected to hold a complete tile or strip, or at least 8 kilobytes,
  34.      whichever is greater.  If the specified _b_u_f_f_e_r is NULL (zero), then a
  35.      buffer of the appropriate size is dynamically allocated.
  36.      _T_I_F_F_W_r_i_t_e_B_u_f_f_e_r_S_e_t_u_p returns a non-zero value if the setup was successful
  37.      and zero otherwise.
  38.  
  39. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  40.      %%%%ssss:::: NNNNoooo ssssppppaaaacccceeee ffffoooorrrr ddddaaaattttaaaa bbbbuuuuffffffffeeeerrrr aaaatttt ssssccccaaaannnnlllliiiinnnneeee %%%%lllldddd.  _T_I_F_F_R_e_a_d_B_u_f_f_e_r_S_e_t_u_p was
  41.      unable to dynamically allocate space for a data buffer.
  42.  
  43.      %%%%ssss:::: NNNNoooo ssssppppaaaacccceeee ffffoooorrrr oooouuuuttttppppuuuutttt bbbbuuuuffffffffeeeerrrr.  _T_I_F_F_W_r_i_t_e_B_u_f_f_e_r_S_e_t_u_p was unable to
  44.      dynamically allocate space for a data buffer.
  45.  
  46. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  47.      _l_i_b_t_i_f_f(3T)
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.